QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

| QD3D Book |

Preface

QuickDraw 3D provides these basic services:

This document describes the application programming interfaces that you can use to develop applications and other software using QuickDraw 3D. Although QuickDraw 3D provides a large set of basic 3D objects and operations, it is also designed for easy extensibility, so that you can add custom capabilities (for instance, custom object types, attributes, renderers, and shading algorithms) to those provided by QuickDraw 3D .

To use this document, you should be generally familiar with computer graphics and with 3D modeling and rendering techniques. This document explains some of the fundamental 3D concepts, but it is not intended to be either an introduction to or a technical reference for 3D graphics in general. Rather, it explains how QuickDraw 3D implements the standard techniques for 3D modeling, rendering, and interaction. You can consult the Bibliography for a list of some books that might help you acquire a basic knowledge of those techniques.

The book 3D Computer Graphics, second edition, by Alan Watt is particularly helpful for beginners.

You should also be familiar with the techniques that underlie object-oriented programming. QuickDraw 3D is object oriented in the sense that many of its capabilities are accessed by creating and manipulating QuickDraw 3D objects. In addition, QuickDraw 3D classes (of which QuickDraw 3D objects are instances) are arranged in a hierarchy, which provides for method inheritance and method overriding.

Currently, only C language programming interfaces are available.

You should begin this document by reading the chapter "Introduction to QuickDraw 3D." That chapter describes the basic capabilities provided by QuickDraw 3D and the QuickDraw 3D application programming interfaces that you use to create and manipulate objects in that hierarchy. It also provides source code samples illustrating how to use QuickDraw 3D to define, configure, and render simple 3D models.

If you just want to be able to display an existing 3D model in a window and don't need to use the powerful capabilities of QuickDraw 3D, you can use the 3D Viewer supplied with QuickDraw 3D. The 3D Viewer allows you to display 3D data with minimal programming effort. It is therefore analogous to the movie controller provided with QuickTime. Read the chapter "3D Viewer" for complete information.

Once you are familiar with the basic uses of QuickDraw 3D, you can read the remaining chapters in this document for more information on any particular topic. For example, for complete information on the types of lights provided by QuickDraw 3D, see the chapter "Light Objects."

 


© 1997 Apple Computer, Inc.